package ooday01;

public class CarTest {
    public static void main(String[] args) {
        Car ad = new Car("奥迪","黑",50000);
        ad.start();
        ad.run();
        ad.stop();
        System.out.println("========================");
        System.out.println("=========================");
        Car hq = new Car("红旗","红黑",100000);
        hq.start();
        hq.run();
        hq.stop();
        System.out.println("========================");
        System.out.println("=========================");
        Car bc = new Car();
        bc.brand = "奔驰";
        bc.color = "黑";
        bc.price = 600;
        bc.start();
        bc.run();
        bc.stop();
    }
}
